/**
 * 与后台交互的逻辑都放在这个类中
 * @param  {[type]} requestData [description]
 * @return {[type]}             [description]
 */
define(['common/data'],function(data){
	var SuperModel = function(){
		this.modelName = "SuperModel";
		this.params = "";
	};

	SuperModel.prototype.getModelName = function(){
		return this.modelName;
	};

	SuperModel.prototype.setModelName = function(modelName){
		this.modelName = modelName;
	};

	SuperModel.prototype.setParams = function(params){
		this.params = params;
	};

	SuperModel.prototype.getParams = function(){
		return this.params;
	};

	SuperModel.prototype.getJSON = function(url,params,callback){
		return data.getJSON(url,params,callback);
	}

	return SuperModel;
});